package cn.exrick.xboot.modules.transport.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author gj
 */
@Data
@Accessors(chain = true)
@Entity
@DynamicInsert
@DynamicUpdate
@Table(name = "b_feedback")
@TableName("b_feedback")
@ApiModel(value = "反馈信息-包含订单")
public class Feedback extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "反馈用户的ID")
    private Long userId;

    //反馈用户电话号
    @ApiModelProperty(value = "反馈用户电话号")
    private String mobile;

    @ApiModelProperty(value = "反馈问题的描述")
    private String feedbackDescription;

    @ApiModelProperty(value = "反馈时上传的图片链接")
    private String feedbackImage;

    @ApiModelProperty(value = "关联的订单ID")
    private Long orderId;

}